//
//  LeftChouTiTableViewCell.m
//  HandWork
//
//  Created by 王阳阳 on 16/1/20.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "LeftChouTiTableViewCell.h"
@implementation LeftChouTiTableViewCell
-(void)dealloc
{
    [_namelabel release];

    [_detailLabel release];
    [super dealloc];
}
#pragma mark - 初始化
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
       
        //tableview名字
        self.namelabel = [[UILabel alloc]init];
        [self.contentView addSubview:self.namelabel];
        [self.namelabel release];
        //副标题
        self.detailLabel = [[UILabel alloc]init];
        [self.contentView addSubview:self.detailLabel];
        [_detailLabel release];
        
 
    }
    return self;
}
#pragma mark - 布局
- (void)layoutSubviews
{
    [super layoutSubviews];

    self.namelabel.frame = CGRectMake(10, 5, 80, 30);//名字
    self.detailLabel.frame = CGRectMake(120, 5, 80, 30);//副标题
    
   
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
